package org.jeecg.codegeneweb.template.ext;

import cn.hutool.core.util.StrUtil;
import freemarker.template.TemplateException;
import lombok.Data;
import org.jeecg.codegeneweb.DestinationLocation;
import org.jeecg.codegeneweb.template.TemplateSingleFileDomain;

import java.io.File;

@Data
public class ExtDestinationSingleFileDomain extends ExtDestinationLocation {

    public ExtDestinationSingleFileDomain(ExtTemplateSingleFileDomain exttemplateSingleFileDomain) {
        this.setExtTemplateSingleFileDomain(exttemplateSingleFileDomain);
    }

    private ExtTemplateSingleFileDomain extTemplateSingleFileDomain;
    public static void main(String[] args) throws Exception, TemplateException {
        File destfile=new File("D:\\jeecg3\\src\\main\\java\\qingjiadan\\qingjiadan\\controller");

            if(!destfile.getParentFile().exists()) {
                destfile.getParentFile().mkdirs();
            }
    }

}
